package com.hrprojectback.mapper;

import com.hrprojectback.dto.DeptType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeptShuXingMapper {
    Integer getDeptTypeCounts(@Param("typeCode") String typeCode, @Param("typeName")String typeName);

    List<DeptType> getDeptType(@Param("typeCode")String typeCode, @Param("typeName")String typeName, @Param("pageStart")int pageStart, @Param("pageSize")int pageSize);

    int addDeptType(DeptType deptType);
}
